var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/', function(req, res, next) {  
  if(req.query.username == 'ocean' && req.query.password == '123')
    res.send('1');
  else if (req.query.username == 'ocean' || req.query.password == '123')
    res.send('2');
  else
    res.send('3');
});

module.exports = router;
